<%@ page language="java" import="java.util.*,code.bean.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CodeSharer</title>

<link href="../css/s.css" rel="stylesheet" type="text/css" />

</head>

<body>
<div id="head">
	<div class="hd">
		<div class="l tac wl2" style="width:230px;padding:3px;">
			<div style="padding-left:55px;"><img src="../images/pcslogo.gif"/></div>
		</div>
		
		<div class="h3"> 
		<%if(session.getAttribute("loginUser") != null){ %>
			<a href="../servlet/ShowSpace?userid=<%=
			((User)
			(session.getAttribute
			("loginUser"))).getId()
			%>" class="ce" style="font-size:16px">
			<%=((User)
			(session.getAttribute
			("loginUser"))).getNickName()%></a> ┊ 
			<%}%> <a href="../reg.jsp" class="ce">注册</a> ┊ <a href="../login.jsp" class="ce">登录</a>
		</div>

		<div class="c"></div>
	</div>
</div>

<div id="main">
	<div class="m1 wl2" style="width:230px;">
    	<div class="m1t"></div>
        <div style="padding:15px 0 0 15px;">
		
			<div id="text1div" class="f13 ml20"><img src="../images/arrow_l.gif" align="absmiddle" />登录您的CodeSharer</div>
			<div id="link2div" class="mt5" style="padding-left:30px;"><a href="../login.jsp" title="登录" class="sl">立即登录</a></div>
			
			<div style="background:url(images/index_app.gif) repeat-x;width:190px;margin:20px auto 15px 7px;height:2px;"></div>
			
			<div id="text1div" class="f13 ml20"><img src="../images/arrow_l.gif" align="absmiddle" />新用户？快来体验CodeSharer的魅力吧！</div>
		
<div id="link2div" class="mt5" style="padding-left:30px;"><a href="../reg.jsp" title="注册" class="sl">立即注册</a></div>
			
			<div style="background:url(../images/index_app.gif) repeat-x;width:190px;margin:20px auto 15px 7px;height:2px;"></div>
			
			<div id="text1div" class="f13 ml20"><img src="../images/arrow_l.gif" align="absmiddle" />支持代码高亮显示</div>
			<div style="padding:2px;"></div>
			<div id="text1div" class="f13 ml20"><img src="../images/arrow_l.gif" align="absmiddle" />支持代码版本控制</div>
			<div style="padding:2px;"></div>
			<div id="text1div" class="f13 ml20"><img src="../images/arrow_l.gif" align="absmiddle" />支持代码分享、收藏、评论</div>
			<div style="padding:2px;"></div>
		</div>
    </div>
	
	<div class="m2 wr2" style="width:770px;"><div id="r2s_2">
		<div id="r2l" style="width:700px;">
			<div class="f14 l" style="margin:50px 0 30px 35px;width:130px;"><span style="font:bold 20px '黑体'; color:#D01E3B;">CodeSharer</span> </div>
  			<div class="l f14" style="margin:47px 0 30px 0px;line-height:2em;width:500px;">是帮助你管理你的代码，并与你的朋友、同事、同学一起分享代码的真实平台，通过这个平台<br />你可以在线高亮阅读你的代码；进行代码版本的管理，感受程序员成长的快乐；结识更多志同道合的朋友</div>

			<div class="c"></div>
			<div class="tac mb10" style="padding-left:40px;"><span class="tac mb10" style="padding-left:40px;"><img src="../images/sy_tp_1.gif" width="500" height="108" /></span></div>
			
			<div style="padding:5px;"></div>
			<!-- <div class="tac mt15">&nbsp;	</div>  -->
			<div class="f13" style="margin:3px 0 0 0">
			 <table width="100%">
			  <tr>
			    <td>
			    <div class="mt15" style="margin:0px 0px 5px 80px;font: 18px '黑体'; color:#D01E3B;">最新更新:
				   <div style="margin-top:5px;">
                     <div class="l f13 c6" style="margin:0px 0px 0px 50px ! important;*margin:0px 0px 0px 50px;">   
					    <jsp:include page="common/spacelist1.jsp">
					        <jsp:param name="usersType" value="newusers"/>
					        <jsp:param name="listName" value="最新更新"/>
					    </jsp:include>
					 </div>
                     <div class="c"></div>
				   </div>
			     </div>
			   </td>
			   <td>
			    <div class="mt15" style="margin:0px 0px 5px 80px;font: 18px '黑体'; color:#D01E3B;">最受欢迎:
				   <div style="margin-top:5px;">
                     <div class="l f13 c6" style="margin:0px 0px 0px 50px ! important;*margin:0px 0px 0px 50px;">   
					    <jsp:include page="common/spacelist1.jsp">
					        <jsp:param name="usersType" value="hotusers"/>
					        <jsp:param name="listName" value="最受欢迎"/>
					    </jsp:include>
					 </div>
                     <div class="c"></div>
				   </div>
				   
			     </div>
			   </td>
			  </tr>
			  </table>
			  
			  <div style="padding:15px;"></div>
			  
          </div>
			 
		</div>
		
		<div class="c"></div>
	</div></div></div>


<div id="b">
	<div class="b1"><a href="#" class="c6" target="_blank">关于我们</a><span>┊</span><a href="../s/contact.html" class="c6" target="_blank">联系方式</a><span>┊</span><a href="../t/feedback.html" class="c6" target="_blank">意见反馈</a><span>┊</span><a href="../s/help.html" class="c6" target="_blank">帮助中心</a>　 &nbsp;<a class=c6 href=http://www.miibeian.gov.cn target=_blank>NENU</a> <img src="../images/gs.gif" width="15" align="absmiddle" />&nbsp;<img src="../images/jc.gif" width="17" align="absmiddle" /></div>

</div>

</body>
</html>
